<%@ page contentType="text/html; charset=utf-8"%>
<%@ page import="cn.agiledata.bank.common.util.WeatherUtil"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%
	String path = request.getContextPath();

	//用于：用户登录后，点击我要激活Email-----再点击没有收到激活信，跳转到此页；此时，需要给email设置初始值
	String email = "";
	if (WeatherUtil.getLoingInfoFromSession(request) != null) {
		email = WeatherUtil.getLoingInfoFromSession(request)
		.getAccount().getEmail();
		if (email == null) {
			email = "";
		}
	}
%>
<head>
	<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/css/font.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/css/newstyle.css" rel="stylesheet"
		type="text/css" />
	<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />
	<script language="javascript">
	function confirm() {
			if(emptyValidate(getObj("sys_email"),"邮件地址") != "") {
				return false;
			}
			if(emptyValidate(getObj("sys_sys_vericode"),"校验码") != "") {
				return false;
			}
			if(matchValidate(getObj("sys_email"),URegexType.email,"邮件地址") != "") {
				return false;
			}
		document.forms[0].submit();
	}
</script>
</head>
<div id="mainFrame">
	<div class="login_logo">
		<!-- <img src="<%=path%>/images/LOGO-4_a.jpg" /> -->
	</div>
	<%
	if (WeatherUtil.getLoingInfoFromSession(request) != null) {
	%>
	<%
	}
	%>
	<div>
		<div>
			<b>重发激活信</b>
		</div>
		<div>
			<form action="<%=path%>/actimail.do" method="post">
				<input type="hidden" name="sys_project" value="webpay" />
				<table width="100%" border="0" align="center" cellpadding="5"
					cellspacing="1">
					<tr>
						<td height="55" colspan="2" class="font_blue">
							<span>如果您没有收到激活信，我们可以为您重新发送，请进行下面的操作： </span>

						</td>
					</tr>
					<tr>
						<td width="40%" align="right">
							<span class="orang12b">* </span>您的Email地址：
						</td>
						<td width="60%" class="font_blue">
							<input name="sys_email" type="inputStyle" size="40"
								value="<%=email%>" onkeypress="actionClick(this)" />
						</td>
					</tr>
					<tr>
						<td align="right">
							<span class="orang12b">*</span> 请输入图片里的校验码：
						</td>
						<td class="font_blue">
							<input name="sys_sys_vericode" type="inputStyle" size="10"
								onkeypress="actionClick(this)" />
							<img src="<%=path%>/page/util/verifyImage.jsp" width="60"
								height="24" align="absmiddle" />
							<a href="#" onclick="confirm();">重发激活信</a>
						</td>
					</tr>
					<tr>
						<td height="55" align="right">
							&nbsp;
						</td>
						<td class="font_blue">
							<input name="button" type="button" class="button_style"
								onclick="location.href='<%=path%>/main.do';" value="返 回" />
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</div>
